package com.carl.zeus.model.system;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;
import com.carl.zeus.util.IdEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;


/**
 * <p>
 * 
 * </p>
 *
 * @author carl
 * @since 2017-02-13
 */
@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
@TableName("sys_user_role")
public class SysUserRole extends IdEntity<SysUserRole> {

    private static final long serialVersionUID = 1L;

    /**
     * 用户ID
     */
    @TableField(value = "user_id")
	private Long userId;
    /**
     * 角色ID
     */
    @TableField(value = "role_id")
	private Long roleId;

}
